package demo.IOinterface.Java147_157;

public class Practice {
    private String name;//名字
    private int attack;//攻击力

    public Practice() {
    }

    public Practice(String name, int attack) {
        this.name = name;
        this.attack = attack;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getattack() {

        return attack;
    }

    public void setattack(int attack) {
        this.attack = attack;
    }
}
